/*
 * @Author: cgl
 * @Date: 2023-04-21 17:33:43
 * @LastEditors: cgl
 * @LastEditTime: 2023-04-22 11:33:08
 * @FilePath: \public-health-emergencies-fed:\radiation-hygiene-fe\src\api\basicData\calibrationFactor.js
 * @Description: 
 * 
 * Copyright (c) 2023 by cgl/微盛信息产业有限公司, All Rights Reserved. 
 */
import request from '@/utils/request'

// 查询校准因子分页列表
export function calibrationFactorList(data) {
  return request({
    url: '/basic/calibrationFactor/list',
    method: 'post',
    data,
  })
}
// 导出校准因子列表
export function calibrationFactorExport(data) {
  return request({
    url: `/basic/calibrationFactor/export`,
    method: "post",
    data,
  });
}
// 查询校准因子列表
export function calibrationFactorListing(params) {
  return request({
    url: '/basic/calibrationFactor/listing',
    method: 'get',
    params,
  })
}
// 获取校准因子详细信息
export function calibrationFactorDetail(calibrationFactorId) {
  return request({
    url: '/basic/calibrationFactor/getInfo/' + calibrationFactorId,
    method: 'get'
  })
}
// 新增校准因子
export function calibrationFactorAdd(data) {
  return request({
    url: `/basic/calibrationFactor/add`,
    method: "post",
    data,
  });
}
// 修改校准因子
export function calibrationFactorEdit(data) {
  return request({
    url: '/basic/calibrationFactor/edit',
    method: 'post',
    data,
  })
}
// 删除校准因子
export function calibrationFactorDelete(calibrationFactorIds) {
  return request({
    url: '/basic/calibrationFactor/remove/' + calibrationFactorIds,
    method: 'get'
  })
}